home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-02-13 | 2.0 KB | 98 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _LINKB_
- #define _LINKB_
-
- #ifndef _PSTOBJ_
- #include "PstObj.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODBaseLink;
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface ODLinkSource;
- interface ODStorageUnit;
- interface ODPart;
- interface ODDraft;
- interface ODFacet;
-
-
- //==============================================================================
- // ODLink
- //==============================================================================
-
- interface ODBaseLink : ODPersistentObject
- {
- ODBoolean Lock(in ODULong wait, out ODLinkKey key);
-
- void Unlock(in ODLinkKey key);
-
- ODStorageUnit GetContentStorageUnit(in ODLinkKey key);
-
- void RegisterDependent(in ODPart clientPart, in ODUpdateID id);
-
- void UnregisterDependent(in ODPart clientPart);
-
- ODUpdateID GetUpdateID();
-
- ODTime GetChangeTime();
-
- void ShowSourceContent();
-
- #ifdef _PLATFORM_MACINTOSH_
-
- ODBoolean ShowLinkDestinationInfo(
- in ODFacet facet,
- in ODLinkInfo info,
- in ODBoolean changesAllowed,
- out ODLinkInfoResult infoResult);
-
- #endif //# _PLATFORM_MACINTOSH_
-
-
- #ifdef __SOMIDL__
- #ifdef _PLATFORM_MACINTOSH_
- implementation
- {
- majorversion = 1; minorversion = 0;
-
- functionprefix = ODBaseLink;
-
- override:
- somUninit,
- Externalize,
- ReleaseAll,
- CloneInto;
-
- releaseorder:
- Lock,
- Unlock,
- GetContentStorageUnit,
- RegisterDependent,
- UnregisterDependent,
- GetUpdateID,
- GetChangeTime,
- ShowSourceContent,
- ShowLinkDestinationInfo,
- reserved1,
- reserved2,
- reserved3,
- reserved4,
- reserved5,
- reserved6,
- reserved7;
-
- };
- #endif //# _PLATFORM_MACINTOSH_
- #endif //# __SOMIDL__
- };
-
- #endif //# _LINKB_
-